package tc.alert.tckejisoc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tc.alert.tckejisoc.domain.SocBanned;
import tc.alert.tckejisoc.mapper.SocBannedMapper;
import tc.alert.tckejisoc.service.SocBannedService;

import java.util.List;

/**
 * @author cyq
 * @description 针对表【soc_banned】的数据库操作Service实现
 * @createDate 2025-03-19 09:24:38
 */
@Service
public class SocBannedServiceImpl extends ServiceImpl<SocBannedMapper, SocBanned>
        implements SocBannedService {

    @Autowired
    SocBannedMapper socBannedMapper;

    @Override
    public void batchInsert(List<SocBanned> list) {
        socBannedMapper.batchInsert(list);
    }

    @Override
    public void insertSelective(SocBanned banned) {
        socBannedMapper.insertSelective(banned);
    }

    @Override
    public List<SocBanned> selectList(SocBanned banned) {
        return socBannedMapper.selectListObj(banned);
    }
}




